﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using igflow.Components;

namespace igflow
{
    public class testObject : GameObject.igGameObject
    {
        public testObject(string texture)
        {
            name = "testObject";
            AddComponent(new igflow.Components.testComponent());
            igMeshRenderer meshRender = new igMeshRenderer();
            meshRender.meshes.Add(new NodeBoxMesh(2.0f, 2.0f,texture));
            AddComponent(meshRender);
        }
    }
}
